package cn.ticket.model;

import java.util.Date;

public class Buses {
    private Integer id;

    private Integer busorderid;

    private Short seatcount=47;

    private Byte number;

    private Short occupation=0;

    private Short routeid;
    
    private Date adddate;

    private String other;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusorderid() {
        return busorderid;
    }

    public void setBusorderid(Integer busorderid) {
        this.busorderid = busorderid;
    }

    public Short getSeatcount() {
        return seatcount;
    }

    public void setSeatcount(Short seatcount) {
        this.seatcount = seatcount;
    }

    public Byte getNumber() {
        return number;
    }

    public void setNumber(Byte number) {
        this.number = number;
    }

    public Short getOccupation() {
        return occupation;
    }

    public void setOccupation(Short occupation) {
        this.occupation = occupation;
    }

    public Short getRouteid() {
        return routeid;
    }

    public void setRouteid(Short routeid) {
        this.routeid = routeid;
    }

    public String getOther() {
        return other;
    }

    public Date getAdddate() {
        return adddate;
    }

    public void setAdddate(Date adddate) {
        this.adddate = adddate;
    }
    
    public void setOther(String other) {
        this.other = other == null ? null : other.trim();
    }
}